import type { routerItem } from "@/common/interface";

//工作台
import Upper from "@/views/workbench/UpperGridCenter.vue";
import Execution from "@/views/workbench/ExecutionGridCenter.vue";
import GridStaff from "@/views/workbench/GridStaff.vue";

//网格信息 
import Gridding from "@/views/GriMent/Gridding.vue";
import Boot from "@/views/GriMent/Create_boot.vue";
import Physics from "@/views/GriMent/Create_physics.vue";
import Team from "@/views/GriMent/Create_team.vue";
import LoginTyoe from "@/views/GriMent/LoginType.vue";
import Basic from "@/views/GriMent/Basic_grid.vue";
import Cell from "@/views/GriMent/Cell_grid.vue";
import Responsibility from "@/views/GriMent/Responsibility_grid.vue";
import Network from "@/views/GriMent/Network_grid.vue";


//考核评价
import AssessmentIndexList from "@/views/Examine/AssessmentIndexList.vue";
import AssessmentSchemeList from "@/views/Examine/AssessmentSchemeList.vue";
import EvaluationLevel from "@/views/Examine/EvaluationLevel.vue";
import AssessmentScoring from "@/views/Examine/AssessmentScoring.vue";
import EvaluationResult from "@/views/Examine/EvaluationResult.vue";

//事件处置
import CommissionEvent from "@/views/Incident/CommissionEvent.vue";
import MyEvent from "@/views/Incident/MyEvent.vue";
import ClosedEvent from "@/views/Incident/ClosedEvent.vue";
import EvaluationEvent from "@/views/Incident/EvaluationEvent.vue";
import CloseEvent from "@/views/Incident/CloseEvent.vue";
import DeferredApproval from "@/views/Incident/DeferredApproval.vue";
import PendingApproval from "@/views/Incident/PendingApproval.vue";
import SuperviseAndUrge from "@/views/Incident/SuperviseAndUrge.vue";
import ComprehensiveInquiry from "@/views/Incident/ComprehensiveInquiry.vue";

//流程引擎
import FormManagement from "@/views/Workflow/FormManagement.vue";
import CreateProcess from "@/views/Workflow/CreateProcess.vue";
import FlowSetting from "@/views/Workflow/FlowSetting.vue";

//基础数据
import MeshTypeList from "@/views/BasicData/MeshTypeList.vue";
import AssemTypeList from "@/views/BasicData/AssemTypeList.vue";
import SubAssemTypeList from "@/views/BasicData/SubAssemTypeList.vue";
import LogManage from "@/views/BasicData/LogManage.vue";
//import ShowInten from "@/views/BasicData/ShowInten.vue";





const staticRoutes: routerItem[] = [
  //工作台
  {
    path: "/src/views/workbench/UpperGridCenter.vue",
    name: "工作台",
    component: () => import("@/layout/wrapper.vue"),
    meta: {
      icon: "custom-icon-Bag1",
    },
    children: [
      {
        path: "/src/views/workbench/UpperGridCenter.vue",
        name: "上级网格中心工作台",
        component: Upper,
      },
      {
        path: "/src/views/workbench/ExecutionGridCenter.vue",
        name: "执行网格中心工作台",
        component: Execution,
      },
      {
        path: "",
        name: "网格员工作台",
        component: GridStaff,
      },
    ]
  },

  //工作台
  {
    path: "/src/views/GriMent/Gridding.vue",
    name: "网格化管理",
    component: () => import("@/layout/wrapper.vue"),
    meta: {
      icon: "custom-icon-Bag1",
    },
    children: [
      {
        path: "/src/views/GriMent/Gridding.vue",
        name: "网格创建引导",
        component: Gridding,
      },
      {
        path: "/src/views/GriMent/Create_boot.vue",
        name: "层级设置",
        component: Boot,
      },
      {
        path: "/src/views/GriMent/Create_physics.vue",
        name: "创建网格(物理)",
        component: Physics,
      },
      {
        path: "/src/views/GriMent/Create_team.vue",
        name: "创建网格队伍",
        component: Team,
      },
      {
        path: "/src/views/GriMent/LoginType.vue",
        name: "登录系统",
        component: LoginTyoe,
      },
      {
        path: "/src/views/GriMent/Basic_grid.vue",
        name: "基础网格管理(物理)",
        component: Basic,
      },
      {
        path: "/src/views/GriMent/Cell_grid.vue",
        name: "单元网格管理(物理)",
        component: Cell,
      },
      {
        path: "/src/views/GriMent/Responsibility_grid.vue",
        name: "责任网格管理",
        component: Responsibility,
      },
      {
        path: "/src/views/GriMent/Network_grid.vue",
        name: "网络队伍管理",
        component: Network,
      },
    ]
  },
  //事件处置
  {
    path: "/src/views/Incident/CommissionCase.vue",
    name: "事件处置",
    component: () => import("@/layout/wrapper.vue"),
    meta: {
      icon: "custom-icon-Bag1",
    },
    children: [
      {
        path: "/src/views/Incident/CommissionEvent.vue",
        name: "代办事件",
        component: CommissionEvent,
      },
      {
        path: "/src/views/Incident/MyEvent.vue",
        name: "我的事件",
        component: MyEvent,
      },
      {
        path: "/src/views/Incident/ClosedEvent.vue",
        name: "结案事件",
        component: ClosedEvent,
      },
      {
        path: "/src/views/Incident/EvaluationEvent.vue",
        name: "评价事件",
        component: EvaluationEvent,
      },
      {
        path: "/src/views/Incident/CloseEvent.vue",
        name: "关闭事件",
        component: CloseEvent,
      },
      {
        path: "/src/views/Incident/DeferredApproval.vue",
        name: "延期审批",
        component: DeferredApproval,
      },
      {
        path: "/src/views/Incident/PendingApproval.vue",
        name: "挂起审批",
        component: PendingApproval,
      },
      {
        path: "/src/views/Incident/SuperviseAndUrge.vue",
        name: "督办催办",
        component: SuperviseAndUrge,
      },
      {
        path: "/src/views/Incident/ComprehensiveInquiry.vue",
        name: "综合查询",
        component: ComprehensiveInquiry,
      },
    ]
  },

  //考核评价
  {
    path: "/src/views/Examine/AssessmentIndexList.vue",
    name: "考核评价",
    component: () => import("@/layout/wrapper.vue"),
    meta: {
      icon: "custom-icon-Bag1",
    },
    children: [
      {
        path: "/src/views/Examine/AssessmentIndexList.vue",
        name: "考核指标管理",
        component: AssessmentIndexList,
      },
      {
        path: "/src/views/Examine/AssessmentSchemeList.vue",
        name: "考核方案管理",
        component: AssessmentSchemeList,
      },
      {
        path: "/src/views/Examine/EvaluationLevel.vue",
        name: "评价等级设置",
        component: EvaluationLevel,
      },
      {
        path: "/src/views/Examine/AssessmentScoring.vue",
        name: "考核打分设置",
        component: AssessmentScoring,
      },
      {
        path: "/src/views/Examine/EvaluationResult.vue",
        name: "评价结果查询",
        component: EvaluationResult,
      },
    ]
  },
 
  //基础数据
  {
    path: "/src/views/BasicData/MeshTypeList.vue",
    name: "基础数据",
    component: () => import("@/layout/wrapper.vue"),
    meta: {
      icon: "custom-icon-Bag1",
    },
    children: [{
        path: "/src/views/BasicData/MeshTypeList.vue",
        name: "网络类型管理",
        component: MeshTypeList,
      },
      {
        path: "/src/views/BasicData/AssemTypeList.vue",
        name: "事件类型管理",
        component: AssemTypeList,
      },
      {
        path: "/src/views/BasicData/SubAssemTypeList.vue",
        name: "事件类型子节点",
        component: SubAssemTypeList,
      },
      {
        path: "/src/views/BasicData/LogManage.vue",
        name: "日志管理",
        component: LogManage,
      },
      // {
      //   path: "/src/views/BasicData/ShowInten.vue",
      //   name: "管理员设置",
      //   component: ShowInten,
      // },
    ]
  },
   //流程引擎
   {
    path: "/src/views/Workflow/FormManagement.vue",
    name: "流程引擎",
    meta: {
      icon: "custom-icon-Bag1",
    },
    component: () => import("@/layout/wrapper.vue"),
    children: [
      {
        path: "/src/views/Workflow/FormManagement.vue",
        name: "表单管理",
        component: FormManagement,
      },
      {
        path: "/src/views/Workflow/CreateProcess.vue",
        name: "创建流程",
        component: CreateProcess,
      },
      {
        path: "/src/views/Examine/FlowSetting.vue",
        name: "流转设置",
        component: FlowSetting,
      },
    ]
  },

]
export default staticRoutes;
